#!/bin/bash

OHOS_SRC_ROOT=$(cd "../../.." && pwd)
AOSP_PREBUILTS=${OHOS_SRC_ROOT}/prebuilts/aosp_prebuilt_libs
OHOS_IMAGES_ROOT=${OHOS_SRC_ROOT}/out/ohos-arm-release/packages/phone/images

cp ${OHOS_SRC_ROOT}/prebuilts/aosp_prebuilt_libs/minisys/system/bin/init ${OHOS_IMAGES_ROOT}/system/bin/
cp ${OHOS_SRC_ROOT}/prebuilts/aosp_prebuilt_libs/minisys/system/lib/libbootloader_message.so ${OHOS_IMAGES_ROOT}/system/lib/
cp ${OHOS_SRC_ROOT}/prebuilts/aosp_prebuilt_libs/minisys/system/lib/libfs_mgr.so ${OHOS_IMAGES_ROOT}/system/lib/